﻿using Game;

namespace Mekiasm
{
    public class MekCraftTableWidget : BaseEnergyWidget
    {
        public ComponentEnergyMachine Component;

        public MekCraftTableWidget(ComponentEnergyMachine mekCraftTable_, ComponentMiner componentMiner) : base(componentMiner)
        {
            Component = mekCraftTable_;
            mekProgress.IsVisible = false;
            MoreBox.IsVisible = false;
            MekCraftingRecipe.FindCraftDevice(typeof(MekCraftTable)).GenerateRecipeWidget(CanvasMain, mekCraftTable_,componentMiner, ref Tick);
            setTitle("Mek工作台");
        }
    }
}
